﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sayeet
{
    public partial class InfoBox : Form
    {
        public void setName(string name)
        {
            nameLabel.Text = "Name: " + name;
        }

        public void setJid(string jid)
        {
            jidLabel.Text = "Jid: " + jid;
        }

        public void setStatus(XMPPConnection.Status status)
        {
            statusLabel.Text = "Status: " + status.ToString();
        }

        public void setSubscription(RosterItem.enSubscription subscription)
        {
            subscriptionLabel.Text = "Subscription: " + subscription.ToString();
        }

        public InfoBox()
        {
            InitializeComponent();
        }
    }
}
